package com.ss.android.article.base.feature.user.social;

import android.text.Editable;
import android.text.TextWatcher;

final class e implements TextWatcher {
    private final ReportActivity a;

    e(ReportActivity arg1) {
        this.a = arg1;

    }

    public final void afterTextChanged(Editable arg1) {
    }

    public final void beforeTextChanged(CharSequence arg1, int arg2, int arg3, int arg4) {
    }

    public final void onTextChanged(CharSequence arg3, int arg4, int arg5, int arg6) {
        String v0 = this.a.b.getText().toString();
        if (this.a.a == 0) {
            if (android.support.design.a.isTextEmpty(v0)) {
                ReportActivity.d(this.a).setEnabled(false);
            } else {
                ReportActivity.e(this.a).setEnabled(true);
            }
        }
    }
}

